//#ifndef _libnsl_
//#define _libnsl_

/*
#ifdef __cplusplus
extern "C" {
#endif
*/

#include <stdlib.h>
#include <math.h>

#define L 26
#define M 129

// structure for  wav2aud parameters 

typedef struct libnsl_wav2aud_param{
		
        float fac;
        float shft;
        float alpha;
        float beta;
        float L_frm;
        float N_frames; 
	
	
}t_wav2aud_param;

// funtions

extern double COCHBA(char part, int l, int m); 

extern void libnsl_get_param(int argc, float *argv);

extern void libnsl_normalize_coef(double *vectorA, double *vectorB, int size, double coef);

extern void libnsl_filter(double *y, double *wav, double *B, double *A,  int size, int size_coef);

extern void libnsl_halfregu(double *y, int size);

extern void libnsl_sigmoid(double *y, float fac, int size);

extern void libnsl_wav2aud(float *v5, double *wav, int size, int N_frames);

/*
#ifdef __cplusplus
}
#endif
*/

//#endif
